﻿/*
	wp8libflac project
	© Alovchin, 2014
*/

using System;
using System.Threading.Tasks;
using Windows.Storage;

namespace wp8.MediaHelpers
{
    public sealed class StreamSourceFactory
    {
        /// <summary>
        /// Creates a <see cref="MediaStreamSourceBase" /> corresponding to file format.
        /// </summary>
        /// <param name="filePath">File path.</param>
        public static MediaStreamSourceBase Create(string filePath)
        {
            return new FlacStreamSource(filePath);
        }
    }
}
